﻿using System;

class Palindromes
{
    static void Main()
    {
        string text = "ABBA totot puraarup text exe executeetucexe para ";
        char[] delimeters = { ' ', '.', ',' };
        string[] arrayOfStrings = text.Split(delimeters, StringSplitOptions.RemoveEmptyEntries);

        for (int i = 0; i < arrayOfStrings.Length; i++)
        {
            bool palindrome = true;
            text = arrayOfStrings[i];
            for (int j = 0; j < text.Length / 2; j++)
            {
                if (!(text[j] == text[text.Length - 1 - j]))
                {
                    palindrome = false;
                    break;
                }
            }
            if (palindrome)
            {
                Console.WriteLine(text);
            }
            
        }
    }
}